# Print the following using while loop
# 0 + 1 = 1
# 0 + 1 + 2 = 3
# 0 + 1 + 2 + 3 = 6
# 0 + 1 + 2 + 3 + 4 = 10
# until ........ + 10 = ?

adder = 1
formula = "0"
total = 0
while adder <= 10:
    total += adder
    formula += f" + {adder}"
    print(f"{formula} = {total}")
    adder += 1
# 详情见 app06.py
